<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-comment">-- -----------------------------------------------------------------------------</span><span>
</span><span id="line-2"></span><span class="hs-comment">--</span><span>
</span><span id="line-3"></span><span class="hs-comment">-- (c) The University of Glasgow, 2005-2007</span><span>
</span><span id="line-4"></span><span class="hs-comment">--</span><span>
</span><span id="line-5"></span><span class="hs-comment">-- Running statements interactively</span><span>
</span><span id="line-6"></span><span class="hs-comment">--</span><span>
</span><span id="line-7"></span><span class="hs-comment">-- -----------------------------------------------------------------------------</span><span>
</span><span id="line-8"></span><span>
</span><span id="line-9"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">GHC.Runtime.Eval.Types</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-10"></span><span>        </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#Resume"><span class="hs-identifier">Resume</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#History"><span class="hs-identifier">History</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#ExecResult"><span class="hs-identifier">ExecResult</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-11"></span><span>        </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#SingleStep"><span class="hs-identifier">SingleStep</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#isStep"><span class="hs-identifier">isStep</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#ExecOptions"><span class="hs-identifier">ExecOptions</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-12"></span><span>        </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#BreakInfo"><span class="hs-identifier">BreakInfo</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
</span><span id="line-13"></span><span>        </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-14"></span><span>
</span><span id="line-15"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Prelude.html"><span class="hs-identifier">GHC.Prelude</span></a></span><span>
</span><span id="line-16"></span><span>
</span><span id="line-17"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.RemoteTypes.html#"><span class="hs-identifier">GHCi.RemoteTypes</span></a></span><span>
</span><span id="line-18"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.Message.html#"><span class="hs-identifier">GHCi.Message</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghci/src/GHCi.Message.html#EvalExpr"><span class="hs-identifier">EvalExpr</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.Message.html#ResumeContext"><span class="hs-identifier">ResumeContext</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-19"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Types.Id.html"><span class="hs-identifier">GHC.Types.Id</span></a></span><span>
</span><span id="line-20"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Types.Name.html"><span class="hs-identifier">GHC.Types.Name</span></a></span><span>
</span><span id="line-21"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Unit.Module.html"><span class="hs-identifier">GHC.Unit.Module</span></a></span><span>
</span><span id="line-22"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Types.Name.Reader.html"><span class="hs-identifier">GHC.Types.Name.Reader</span></a></span><span>
</span><span id="line-23"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Core.Type.html"><span class="hs-identifier">GHC.Core.Type</span></a></span><span>
</span><span id="line-24"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Types.SrcLoc.html"><span class="hs-identifier">GHC.Types.SrcLoc</span></a></span><span>
</span><span id="line-25"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Utils.Exception.html"><span class="hs-identifier">GHC.Utils.Exception</span></a></span><span>
</span><span id="line-26"></span><span>
</span><span id="line-27"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Data.Word.html#"><span class="hs-identifier">Data.Word</span></a></span><span>
</span><span id="line-28"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/GHC.Stack.CCS.html#"><span class="hs-identifier">GHC.Stack.CCS</span></a></span><span>
</span><span id="line-29"></span><span>
</span><span id="line-30"></span><span class="hs-keyword">data</span><span> </span><span id="ExecOptions"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#ExecOptions"><span class="hs-identifier hs-var">ExecOptions</span></a></span></span><span>
</span><span id="line-31"></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="ExecOptions"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#ExecOptions"><span class="hs-identifier hs-var">ExecOptions</span></a></span></span><span>
</span><span id="line-32"></span><span>     </span><span class="hs-special">{</span><span> </span><span id="execSingleStep"><span class="annot"><span class="annottext">ExecOptions -&gt; SingleStep
</span><a href="GHC.Runtime.Eval.Types.html#execSingleStep"><span class="hs-identifier hs-var hs-var">execSingleStep</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#SingleStep"><span class="hs-identifier hs-type">SingleStep</span></a></span><span>         </span><span class="hs-comment">-- ^ stepping mode</span><span>
</span><span id="line-33"></span><span>     </span><span class="hs-special">,</span><span> </span><span id="execSourceFile"><span class="annot"><span class="annottext">ExecOptions -&gt; String
</span><a href="GHC.Runtime.Eval.Types.html#execSourceFile"><span class="hs-identifier hs-var hs-var">execSourceFile</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>             </span><span class="hs-comment">-- ^ filename (for errors)</span><span>
</span><span id="line-34"></span><span>     </span><span class="hs-special">,</span><span> </span><span id="execLineNumber"><span class="annot"><span class="annottext">ExecOptions -&gt; Int
</span><a href="GHC.Runtime.Eval.Types.html#execLineNumber"><span class="hs-identifier hs-var hs-var">execLineNumber</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span>                </span><span class="hs-comment">-- ^ line number (for errors)</span><span>
</span><span id="line-35"></span><span>     </span><span class="hs-special">,</span><span> </span><span id="execWrap"><span class="annot"><span class="annottext">ExecOptions -&gt; ForeignHValue -&gt; EvalExpr ForeignHValue
</span><a href="GHC.Runtime.Eval.Types.html#execWrap"><span class="hs-identifier hs-var hs-var">execWrap</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.RemoteTypes.html#ForeignHValue"><span class="hs-identifier hs-type">ForeignHValue</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.Message.html#EvalExpr"><span class="hs-identifier hs-type">EvalExpr</span></a></span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.RemoteTypes.html#ForeignHValue"><span class="hs-identifier hs-type">ForeignHValue</span></a></span><span>
</span><span id="line-36"></span><span>     </span><span class="hs-special">}</span><span>
</span><span id="line-37"></span><span>
</span><span id="line-38"></span><span class="hs-keyword">data</span><span> </span><span id="SingleStep"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#SingleStep"><span class="hs-identifier hs-var">SingleStep</span></a></span></span><span>
</span><span id="line-39"></span><span>   </span><span class="hs-glyph">=</span><span> </span><span id="RunToCompletion"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#RunToCompletion"><span class="hs-identifier hs-var">RunToCompletion</span></a></span></span><span>
</span><span id="line-40"></span><span>   </span><span class="hs-glyph">|</span><span> </span><span id="SingleStep"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#SingleStep"><span class="hs-identifier hs-var">SingleStep</span></a></span></span><span>
</span><span id="line-41"></span><span>   </span><span class="hs-glyph">|</span><span> </span><span id="RunAndLogSteps"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#RunAndLogSteps"><span class="hs-identifier hs-var">RunAndLogSteps</span></a></span></span><span>
</span><span id="line-42"></span><span>
</span><span id="line-43"></span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#isStep"><span class="hs-identifier hs-type">isStep</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#SingleStep"><span class="hs-identifier hs-type">SingleStep</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-44"></span><span id="isStep"><span class="annot"><span class="annottext">isStep :: SingleStep -&gt; Bool
</span><a href="GHC.Runtime.Eval.Types.html#isStep"><span class="hs-identifier hs-var hs-var">isStep</span></a></span></span><span> </span><span class="annot"><span class="annottext">SingleStep
</span><a href="GHC.Runtime.Eval.Types.html#RunToCompletion"><span class="hs-identifier hs-var">RunToCompletion</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">False</span></span><span>
</span><span id="line-45"></span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#isStep"><span class="hs-identifier hs-var">isStep</span></a></span><span> </span><span class="annot"><span class="annottext">SingleStep
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Bool
</span><span class="hs-identifier hs-var">True</span></span><span>
</span><span id="line-46"></span><span>
</span><span id="line-47"></span><span class="hs-keyword">data</span><span> </span><span id="ExecResult"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#ExecResult"><span class="hs-identifier hs-var">ExecResult</span></a></span></span><span>
</span><span id="line-48"></span><span>  </span><span class="hs-glyph">=</span><span> </span><span id="ExecComplete"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#ExecComplete"><span class="hs-identifier hs-var">ExecComplete</span></a></span></span><span>
</span><span id="line-49"></span><span>       </span><span class="hs-special">{</span><span> </span><span id="execResult"><span class="annot"><span class="annottext">ExecResult -&gt; Either SomeException [Name]
</span><a href="GHC.Runtime.Eval.Types.html#execResult"><span class="hs-identifier hs-var hs-var">execResult</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/Data.Either.html#Either"><span class="hs-identifier hs-type">Either</span></a></span><span> </span><span class="annot"><a href="../../base/src/GHC.Exception.Type.html#SomeException"><span class="hs-identifier hs-type">SomeException</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Types.Name.html#Name"><span class="hs-identifier hs-type">Name</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-50"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="execAllocation"><span class="annot"><span class="annottext">ExecResult -&gt; Word64
</span><a href="GHC.Runtime.Eval.Types.html#execAllocation"><span class="hs-identifier hs-var hs-var">execAllocation</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Word.html#Word64"><span class="hs-identifier hs-type">Word64</span></a></span><span>
</span><span id="line-51"></span><span>       </span><span class="hs-special">}</span><span>
</span><span id="line-52"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="ExecBreak"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#ExecBreak"><span class="hs-identifier hs-var">ExecBreak</span></a></span></span><span>
</span><span id="line-53"></span><span>       </span><span class="hs-special">{</span><span> </span><span id="breakNames"><span class="annot"><span class="annottext">ExecResult -&gt; [Name]
</span><a href="GHC.Runtime.Eval.Types.html#breakNames"><span class="hs-identifier hs-var hs-var">breakNames</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Types.Name.html#Name"><span class="hs-identifier hs-type">Name</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-54"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="breakInfo"><span class="annot"><span class="annottext">ExecResult -&gt; Maybe BreakInfo
</span><a href="GHC.Runtime.Eval.Types.html#breakInfo"><span class="hs-identifier hs-var hs-var">breakInfo</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Maybe"><span class="hs-identifier hs-type">Maybe</span></a></span><span> </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#BreakInfo"><span class="hs-identifier hs-type">BreakInfo</span></a></span><span>
</span><span id="line-55"></span><span>       </span><span class="hs-special">}</span><span>
</span><span id="line-56"></span><span>
</span><span id="line-57"></span><span class="hs-keyword">data</span><span> </span><span id="BreakInfo"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#BreakInfo"><span class="hs-identifier hs-var">BreakInfo</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="BreakInfo"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#BreakInfo"><span class="hs-identifier hs-var">BreakInfo</span></a></span></span><span>
</span><span id="line-58"></span><span>  </span><span class="hs-special">{</span><span> </span><span id="breakInfo_module"><span class="annot"><span class="annottext">BreakInfo -&gt; Module
</span><a href="GHC.Runtime.Eval.Types.html#breakInfo_module"><span class="hs-identifier hs-var hs-var">breakInfo_module</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Unit.Types.html#Module"><span class="hs-identifier hs-type">Module</span></a></span><span>
</span><span id="line-59"></span><span>  </span><span class="hs-special">,</span><span> </span><span id="breakInfo_number"><span class="annot"><span class="annottext">BreakInfo -&gt; Int
</span><a href="GHC.Runtime.Eval.Types.html#breakInfo_number"><span class="hs-identifier hs-var hs-var">breakInfo_number</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span>
</span><span id="line-60"></span><span>  </span><span class="hs-special">}</span><span>
</span><span id="line-61"></span><span>
</span><span id="line-62"></span><span class="hs-keyword">data</span><span> </span><span id="Resume"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#Resume"><span class="hs-identifier hs-var">Resume</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="Resume"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#Resume"><span class="hs-identifier hs-var">Resume</span></a></span></span><span>
</span><span id="line-63"></span><span>       </span><span class="hs-special">{</span><span> </span><span id="resumeStmt"><span class="annot"><span class="annottext">Resume -&gt; String
</span><a href="GHC.Runtime.Eval.Types.html#resumeStmt"><span class="hs-identifier hs-var hs-var">resumeStmt</span></a></span></span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>       </span><span class="hs-comment">-- the original statement</span><span>
</span><span id="line-64"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeContext"><span class="annot"><span class="annottext">Resume -&gt; ForeignRef (ResumeContext [HValueRef])
</span><a href="GHC.Runtime.Eval.Types.html#resumeContext"><span class="hs-identifier hs-var hs-var">resumeContext</span></a></span></span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.RemoteTypes.html#ForeignRef"><span class="hs-identifier hs-type">ForeignRef</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../ghci/src/GHCi.Message.html#ResumeContext"><span class="hs-identifier hs-type">ResumeContext</span></a></span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../ghci/src/GHCi.RemoteTypes.html#HValueRef"><span class="hs-identifier hs-type">HValueRef</span></a></span><span class="hs-special">]</span><span class="hs-special">)</span><span>
</span><span id="line-65"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeBindings"><span class="annot"><span class="annottext">Resume -&gt; ([TyThing], GlobalRdrEnv)
</span><a href="GHC.Runtime.Eval.Types.html#resumeBindings"><span class="hs-identifier hs-var hs-var">resumeBindings</span></a></span></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="hs-special">[</span><span class="annot"><a href="GHC.Core.TyCo.Rep.html#TyThing"><span class="hs-identifier hs-type">TyThing</span></a></span><span class="hs-special">]</span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Types.Name.Reader.html#GlobalRdrEnv"><span class="hs-identifier hs-type">GlobalRdrEnv</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-66"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeFinalIds"><span class="annot"><span class="annottext">Resume -&gt; [Id]
</span><a href="GHC.Runtime.Eval.Types.html#resumeFinalIds"><span class="hs-identifier hs-var hs-var">resumeFinalIds</span></a></span></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Types.Var.html#Id"><span class="hs-identifier hs-type">Id</span></a></span><span class="hs-special">]</span><span>         </span><span class="hs-comment">-- [Id] to bind on completion</span><span>
</span><span id="line-67"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeApStack"><span class="annot"><span class="annottext">Resume -&gt; ForeignHValue
</span><a href="GHC.Runtime.Eval.Types.html#resumeApStack"><span class="hs-identifier hs-var hs-var">resumeApStack</span></a></span></span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.RemoteTypes.html#ForeignHValue"><span class="hs-identifier hs-type">ForeignHValue</span></a></span><span> </span><span class="hs-comment">-- The object from which we can get</span><span>
</span><span id="line-68"></span><span>                                        </span><span class="hs-comment">-- value of the free variables.</span><span>
</span><span id="line-69"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeBreakInfo"><span class="annot"><span class="annottext">Resume -&gt; Maybe BreakInfo
</span><a href="GHC.Runtime.Eval.Types.html#resumeBreakInfo"><span class="hs-identifier hs-var hs-var">resumeBreakInfo</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Maybe.html#Maybe"><span class="hs-identifier hs-type">Maybe</span></a></span><span> </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#BreakInfo"><span class="hs-identifier hs-type">BreakInfo</span></a></span><span>
</span><span id="line-70"></span><span>                                        </span><span class="hs-comment">-- the breakpoint we stopped at</span><span>
</span><span id="line-71"></span><span>                                        </span><span class="hs-comment">-- (module, index)</span><span>
</span><span id="line-72"></span><span>                                        </span><span class="hs-comment">-- (Nothing &lt;=&gt; exception)</span><span>
</span><span id="line-73"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeSpan"><span class="annot"><span class="annottext">Resume -&gt; SrcSpan
</span><a href="GHC.Runtime.Eval.Types.html#resumeSpan"><span class="hs-identifier hs-var hs-var">resumeSpan</span></a></span></span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Types.SrcLoc.html#SrcSpan"><span class="hs-identifier hs-type">SrcSpan</span></a></span><span>      </span><span class="hs-comment">-- just a copy of the SrcSpan</span><span>
</span><span id="line-74"></span><span>                                        </span><span class="hs-comment">-- from the ModBreaks,</span><span>
</span><span id="line-75"></span><span>                                        </span><span class="hs-comment">-- otherwise it's a pain to</span><span>
</span><span id="line-76"></span><span>                                        </span><span class="hs-comment">-- fetch the ModDetails &amp;</span><span>
</span><span id="line-77"></span><span>                                        </span><span class="hs-comment">-- ModBreaks to get this.</span><span>
</span><span id="line-78"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeDecl"><span class="annot"><span class="annottext">Resume -&gt; String
</span><a href="GHC.Runtime.Eval.Types.html#resumeDecl"><span class="hs-identifier hs-var hs-var">resumeDecl</span></a></span></span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>       </span><span class="hs-comment">-- ditto</span><span>
</span><span id="line-79"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeCCS"><span class="annot"><span class="annottext">Resume -&gt; RemotePtr CostCentreStack
</span><a href="GHC.Runtime.Eval.Types.html#resumeCCS"><span class="hs-identifier hs-var hs-var">resumeCCS</span></a></span></span><span>       </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.RemoteTypes.html#RemotePtr"><span class="hs-identifier hs-type">RemotePtr</span></a></span><span> </span><span class="annot"><a href="../../base/src/GHC.Stack.CCS.html#CostCentreStack"><span class="hs-identifier hs-type">CostCentreStack</span></a></span><span>
</span><span id="line-80"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeHistory"><span class="annot"><span class="annottext">Resume -&gt; [History]
</span><a href="GHC.Runtime.Eval.Types.html#resumeHistory"><span class="hs-identifier hs-var hs-var">resumeHistory</span></a></span></span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#History"><span class="hs-identifier hs-type">History</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-81"></span><span>       </span><span class="hs-special">,</span><span> </span><span id="resumeHistoryIx"><span class="annot"><span class="annottext">Resume -&gt; Int
</span><a href="GHC.Runtime.Eval.Types.html#resumeHistoryIx"><span class="hs-identifier hs-var hs-var">resumeHistoryIx</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Int</span></span><span>           </span><span class="hs-comment">-- 0 &lt;==&gt; at the top of the history</span><span>
</span><span id="line-82"></span><span>       </span><span class="hs-special">}</span><span>
</span><span id="line-83"></span><span>
</span><span id="line-84"></span><span class="hs-keyword">data</span><span> </span><span id="History"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#History"><span class="hs-identifier hs-var">History</span></a></span></span><span>
</span><span id="line-85"></span><span>   </span><span class="hs-glyph">=</span><span> </span><span id="History"><span class="annot"><a href="GHC.Runtime.Eval.Types.html#History"><span class="hs-identifier hs-var">History</span></a></span></span><span> </span><span class="hs-special">{</span><span>
</span><span id="line-86"></span><span>        </span><span id="historyApStack"><span class="annot"><span class="annottext">History -&gt; ForeignHValue
</span><a href="GHC.Runtime.Eval.Types.html#historyApStack"><span class="hs-identifier hs-var hs-var">historyApStack</span></a></span></span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../ghci/src/GHCi.RemoteTypes.html#ForeignHValue"><span class="hs-identifier hs-type">ForeignHValue</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-87"></span><span>        </span><span id="historyBreakInfo"><span class="annot"><span class="annottext">History -&gt; BreakInfo
</span><a href="GHC.Runtime.Eval.Types.html#historyBreakInfo"><span class="hs-identifier hs-var hs-var">historyBreakInfo</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Runtime.Eval.Types.html#BreakInfo"><span class="hs-identifier hs-type">BreakInfo</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-88"></span><span>        </span><span id="historyEnclosingDecls"><span class="annot"><span class="annottext">History -&gt; [String]
</span><a href="GHC.Runtime.Eval.Types.html#historyEnclosingDecls"><span class="hs-identifier hs-var hs-var">historyEnclosingDecls</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span class="hs-special">]</span><span>  </span><span class="hs-comment">-- declarations enclosing the breakpoint</span><span>
</span><span id="line-89"></span><span>   </span><span class="hs-special">}</span><span>
</span><span id="line-90"></span></pre></body></html>